home *** CD-ROM | disk | FTP | other *** search
- /******************************************************************************
- * Cagd_ftl.c - default FatalError function for the cagd library. *
- *******************************************************************************
- * Written by Gershon Elber, April. 93. *
- ******************************************************************************/
-
- #include <stdio.h>
- #include "cagd_loc.h"
-
- /*****************************************************************************
- * Trap Cagd_lib errors right here. *
- *****************************************************************************/
- void CagdFatalError(CagdFatalErrorType ErrID)
- {
- char
- *ErrorMsg = CagdDescribeError(ErrID);
-
- fprintf(stderr, "CAGD_LIB: %s\n", ErrorMsg);
-
- exit(-1);
- }
-